<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span id="local-6989586621679620293"><span id="local-6989586621679620294"><span id="local-6989586621679620295"><span id="local-6989586621679620296"><span id="local-6989586621679620297"></span></span></span></span></span><span class="hs-pragma">{-# LANGUAGE DeriveGeneric #-}</span><span>
</span><span id="line-2"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">Distribution.Parsec.Warning</span><span> </span><span class="hs-special">(</span><span>
</span><span id="line-3"></span><span>    </span><span class="annot"><a href="Distribution.Parsec.Warning.html#PWarning"><span class="hs-identifier">PWarning</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-4"></span><span>    </span><span class="annot"><a href="Distribution.Parsec.Warning.html#PWarnType"><span class="hs-identifier">PWarnType</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-5"></span><span>    </span><span class="annot"><a href="Distribution.Parsec.Warning.html#showPWarning"><span class="hs-identifier">showPWarning</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-6"></span><span>    </span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-7"></span><span>
</span><span id="line-8"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Compat.Prelude.html"><span class="hs-identifier">Distribution.Compat.Prelude</span></a></span><span>
</span><span id="line-9"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Parsec.Position.html"><span class="hs-identifier">Distribution.Parsec.Position</span></a></span><span>
</span><span id="line-10"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Prelude.html#"><span class="hs-identifier">Prelude</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span>
</span><span id="line-11"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../filepath/src/System.FilePath.html#"><span class="hs-identifier">System.FilePath</span></a></span><span>              </span><span class="hs-special">(</span><span class="annot"><a href="../../filepath/src/System.FilePath.Windows.html#normalise"><span class="hs-identifier">normalise</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-12"></span><span>
</span><span id="line-13"></span><span class="hs-comment">-- | Type of parser warning. We do classify warnings.</span><span>
</span><span id="line-14"></span><span class="hs-comment">--</span><span>
</span><span id="line-15"></span><span class="hs-comment">-- Different application may decide not to show some, or have fatal behaviour on others</span><span>
</span><span id="line-16"></span><span id="local-6989586621679620289"><span id="local-6989586621679620290"></span></span><span class="hs-keyword">data</span><span> </span><span id="PWarnType"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWarnType"><span class="hs-identifier hs-var">PWarnType</span></a></span></span><span>
</span><span id="line-17"></span><span>    </span><span class="hs-glyph">=</span><span> </span><span id="PWTOther"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTOther"><span class="hs-identifier hs-var">PWTOther</span></a></span></span><span>                 </span><span class="hs-comment">-- ^ Unclassified warning</span><span>
</span><span id="line-18"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTUTF"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTUTF"><span class="hs-identifier hs-var">PWTUTF</span></a></span></span><span>                   </span><span class="hs-comment">-- ^ Invalid UTF encoding</span><span>
</span><span id="line-19"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTBoolCase"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTBoolCase"><span class="hs-identifier hs-var">PWTBoolCase</span></a></span></span><span>              </span><span class="hs-comment">-- ^ @true@ or @false@, not @True@ or @False@</span><span>
</span><span id="line-20"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTVersionTag"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTVersionTag"><span class="hs-identifier hs-var">PWTVersionTag</span></a></span></span><span>            </span><span class="hs-comment">-- ^ there are version with tags</span><span>
</span><span id="line-21"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTNewSyntax"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTNewSyntax"><span class="hs-identifier hs-var">PWTNewSyntax</span></a></span></span><span>             </span><span class="hs-comment">-- ^ New syntax used, but no @cabal-version: &gt;= 1.2@ specified</span><span>
</span><span id="line-22"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTOldSyntax"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTOldSyntax"><span class="hs-identifier hs-var">PWTOldSyntax</span></a></span></span><span>             </span><span class="hs-comment">-- ^ Old syntax used, and @cabal-version &gt;= 1.2@ specified</span><span>
</span><span id="line-23"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTDeprecatedField"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTDeprecatedField"><span class="hs-identifier hs-var">PWTDeprecatedField</span></a></span></span><span>
</span><span id="line-24"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTInvalidSubsection"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTInvalidSubsection"><span class="hs-identifier hs-var">PWTInvalidSubsection</span></a></span></span><span>
</span><span id="line-25"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTUnknownField"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTUnknownField"><span class="hs-identifier hs-var">PWTUnknownField</span></a></span></span><span>
</span><span id="line-26"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTUnknownSection"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTUnknownSection"><span class="hs-identifier hs-var">PWTUnknownSection</span></a></span></span><span>
</span><span id="line-27"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTTrailingFields"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTTrailingFields"><span class="hs-identifier hs-var">PWTTrailingFields</span></a></span></span><span>
</span><span id="line-28"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTExtraMainIs"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTExtraMainIs"><span class="hs-identifier hs-var">PWTExtraMainIs</span></a></span></span><span>           </span><span class="hs-comment">-- ^ extra main-is field</span><span>
</span><span id="line-29"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTExtraTestModule"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTExtraTestModule"><span class="hs-identifier hs-var">PWTExtraTestModule</span></a></span></span><span>       </span><span class="hs-comment">-- ^ extra test-module field</span><span>
</span><span id="line-30"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTExtraBenchmarkModule"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTExtraBenchmarkModule"><span class="hs-identifier hs-var">PWTExtraBenchmarkModule</span></a></span></span><span>  </span><span class="hs-comment">-- ^ extra benchmark-module field</span><span>
</span><span id="line-31"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTLexNBSP"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTLexNBSP"><span class="hs-identifier hs-var">PWTLexNBSP</span></a></span></span><span>
</span><span id="line-32"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTLexBOM"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTLexBOM"><span class="hs-identifier hs-var">PWTLexBOM</span></a></span></span><span>
</span><span id="line-33"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTLexTab"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTLexTab"><span class="hs-identifier hs-var">PWTLexTab</span></a></span></span><span>
</span><span id="line-34"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTQuirkyCabalFile"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTQuirkyCabalFile"><span class="hs-identifier hs-var">PWTQuirkyCabalFile</span></a></span></span><span>       </span><span class="hs-comment">-- ^ legacy cabal file that we know how to patch</span><span>
</span><span id="line-35"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTDoubleDash"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTDoubleDash"><span class="hs-identifier hs-var">PWTDoubleDash</span></a></span></span><span>            </span><span class="hs-comment">-- ^ Double dash token, most likely it's a mistake - it's not a comment</span><span>
</span><span id="line-36"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTMultipleSingularField"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTMultipleSingularField"><span class="hs-identifier hs-var">PWTMultipleSingularField</span></a></span></span><span> </span><span class="hs-comment">-- ^ e.g. name or version should be specified only once.</span><span>
</span><span id="line-37"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTBuildTypeDefault"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTBuildTypeDefault"><span class="hs-identifier hs-var">PWTBuildTypeDefault</span></a></span></span><span>      </span><span class="hs-comment">-- ^ Workaround for derive-package having build-type: Default. See &lt;https://github.com/haskell/cabal/issues/5020&gt;.</span><span>
</span><span id="line-38"></span><span>
</span><span id="line-39"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTVersionOperator"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTVersionOperator"><span class="hs-identifier hs-var">PWTVersionOperator</span></a></span></span><span>       </span><span class="hs-comment">-- ^ Version operators used (without cabal-version: 1.8)</span><span>
</span><span id="line-40"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTVersionWildcard"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTVersionWildcard"><span class="hs-identifier hs-var">PWTVersionWildcard</span></a></span></span><span>       </span><span class="hs-comment">-- ^ Version wildcard used (without cabal-version: 1.6)</span><span>
</span><span id="line-41"></span><span>
</span><span id="line-42"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTSpecVersion"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTSpecVersion"><span class="hs-identifier hs-var">PWTSpecVersion</span></a></span></span><span>           </span><span class="hs-comment">-- ^ Warnings about cabal-version format.</span><span>
</span><span id="line-43"></span><span>
</span><span id="line-44"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="PWTExperimental"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWTExperimental"><span class="hs-identifier hs-var">PWTExperimental</span></a></span></span><span>          </span><span class="hs-comment">-- ^ Experimental feature</span><span>
</span><span id="line-45"></span><span>    </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span id="local-6989586621679620260"><span id="local-6989586621679620262"><span class="annot"><span class="annottext">PWarnType -&gt; PWarnType -&gt; Bool
(PWarnType -&gt; PWarnType -&gt; Bool)
-&gt; (PWarnType -&gt; PWarnType -&gt; Bool) -&gt; Eq PWarnType
forall a. (a -&gt; a -&gt; Bool) -&gt; (a -&gt; a -&gt; Bool) -&gt; Eq a
/= :: PWarnType -&gt; PWarnType -&gt; Bool
$c/= :: PWarnType -&gt; PWarnType -&gt; Bool
== :: PWarnType -&gt; PWarnType -&gt; Bool
$c== :: PWarnType -&gt; PWarnType -&gt; Bool
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var">Eq</span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679620240"><span id="local-6989586621679620242"><span id="local-6989586621679620245"><span id="local-6989586621679620248"><span id="local-6989586621679620251"><span id="local-6989586621679620253"><span id="local-6989586621679620255"><span class="annot"><span class="annottext">Eq PWarnType
Eq PWarnType
-&gt; (PWarnType -&gt; PWarnType -&gt; Ordering)
-&gt; (PWarnType -&gt; PWarnType -&gt; Bool)
-&gt; (PWarnType -&gt; PWarnType -&gt; Bool)
-&gt; (PWarnType -&gt; PWarnType -&gt; Bool)
-&gt; (PWarnType -&gt; PWarnType -&gt; Bool)
-&gt; (PWarnType -&gt; PWarnType -&gt; PWarnType)
-&gt; (PWarnType -&gt; PWarnType -&gt; PWarnType)
-&gt; Ord PWarnType
PWarnType -&gt; PWarnType -&gt; Bool
PWarnType -&gt; PWarnType -&gt; Ordering
PWarnType -&gt; PWarnType -&gt; PWarnType
forall a.
Eq a
-&gt; (a -&gt; a -&gt; Ordering)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; a)
-&gt; (a -&gt; a -&gt; a)
-&gt; Ord a
min :: PWarnType -&gt; PWarnType -&gt; PWarnType
$cmin :: PWarnType -&gt; PWarnType -&gt; PWarnType
max :: PWarnType -&gt; PWarnType -&gt; PWarnType
$cmax :: PWarnType -&gt; PWarnType -&gt; PWarnType
&gt;= :: PWarnType -&gt; PWarnType -&gt; Bool
$c&gt;= :: PWarnType -&gt; PWarnType -&gt; Bool
&gt; :: PWarnType -&gt; PWarnType -&gt; Bool
$c&gt; :: PWarnType -&gt; PWarnType -&gt; Bool
&lt;= :: PWarnType -&gt; PWarnType -&gt; Bool
$c&lt;= :: PWarnType -&gt; PWarnType -&gt; Bool
&lt; :: PWarnType -&gt; PWarnType -&gt; Bool
$c&lt; :: PWarnType -&gt; PWarnType -&gt; Bool
compare :: PWarnType -&gt; PWarnType -&gt; Ordering
$ccompare :: PWarnType -&gt; PWarnType -&gt; Ordering
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Ord</span></span></span></span></span></span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679620233"><span id="local-6989586621679620235"><span id="local-6989586621679620237"><span class="annot"><span class="annottext">Int -&gt; PWarnType -&gt; ShowS
[PWarnType] -&gt; ShowS
PWarnType -&gt; String
(Int -&gt; PWarnType -&gt; ShowS)
-&gt; (PWarnType -&gt; String)
-&gt; ([PWarnType] -&gt; ShowS)
-&gt; Show PWarnType
forall a.
(Int -&gt; a -&gt; ShowS) -&gt; (a -&gt; String) -&gt; ([a] -&gt; ShowS) -&gt; Show a
showList :: [PWarnType] -&gt; ShowS
$cshowList :: [PWarnType] -&gt; ShowS
show :: PWarnType -&gt; String
$cshow :: PWarnType -&gt; String
showsPrec :: Int -&gt; PWarnType -&gt; ShowS
$cshowsPrec :: Int -&gt; PWarnType -&gt; ShowS
</span><a href="../../base/src/GHC.Show.html#Show"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Show</span></a></span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679620194"><span id="local-6989586621679620196"><span id="local-6989586621679620200"><span id="local-6989586621679620204"><span id="local-6989586621679620206"><span id="local-6989586621679620216"><span id="local-6989586621679620222"><span id="local-6989586621679620230"><span class="annot"><span class="annottext">Int -&gt; PWarnType
PWarnType -&gt; Int
PWarnType -&gt; [PWarnType]
PWarnType -&gt; PWarnType
PWarnType -&gt; PWarnType -&gt; [PWarnType]
PWarnType -&gt; PWarnType -&gt; PWarnType -&gt; [PWarnType]
(PWarnType -&gt; PWarnType)
-&gt; (PWarnType -&gt; PWarnType)
-&gt; (Int -&gt; PWarnType)
-&gt; (PWarnType -&gt; Int)
-&gt; (PWarnType -&gt; [PWarnType])
-&gt; (PWarnType -&gt; PWarnType -&gt; [PWarnType])
-&gt; (PWarnType -&gt; PWarnType -&gt; [PWarnType])
-&gt; (PWarnType -&gt; PWarnType -&gt; PWarnType -&gt; [PWarnType])
-&gt; Enum PWarnType
forall a.
(a -&gt; a)
-&gt; (a -&gt; a)
-&gt; (Int -&gt; a)
-&gt; (a -&gt; Int)
-&gt; (a -&gt; [a])
-&gt; (a -&gt; a -&gt; [a])
-&gt; (a -&gt; a -&gt; [a])
-&gt; (a -&gt; a -&gt; a -&gt; [a])
-&gt; Enum a
enumFromThenTo :: PWarnType -&gt; PWarnType -&gt; PWarnType -&gt; [PWarnType]
$cenumFromThenTo :: PWarnType -&gt; PWarnType -&gt; PWarnType -&gt; [PWarnType]
enumFromTo :: PWarnType -&gt; PWarnType -&gt; [PWarnType]
$cenumFromTo :: PWarnType -&gt; PWarnType -&gt; [PWarnType]
enumFromThen :: PWarnType -&gt; PWarnType -&gt; [PWarnType]
$cenumFromThen :: PWarnType -&gt; PWarnType -&gt; [PWarnType]
enumFrom :: PWarnType -&gt; [PWarnType]
$cenumFrom :: PWarnType -&gt; [PWarnType]
fromEnum :: PWarnType -&gt; Int
$cfromEnum :: PWarnType -&gt; Int
toEnum :: Int -&gt; PWarnType
$ctoEnum :: Int -&gt; PWarnType
pred :: PWarnType -&gt; PWarnType
$cpred :: PWarnType -&gt; PWarnType
succ :: PWarnType -&gt; PWarnType
$csucc :: PWarnType -&gt; PWarnType
</span><a href="../../base/src/GHC.Enum.html#Enum"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Enum</span></a></span></span></span></span></span></span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679620189"><span id="local-6989586621679620191"><span class="annot"><span class="annottext">PWarnType
PWarnType -&gt; PWarnType -&gt; Bounded PWarnType
forall a. a -&gt; a -&gt; Bounded a
maxBound :: PWarnType
$cmaxBound :: PWarnType
minBound :: PWarnType
$cminBound :: PWarnType
</span><a href="../../base/src/GHC.Enum.html#Bounded"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var">Bounded</span></a></span></span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">(forall x. PWarnType -&gt; Rep PWarnType x)
-&gt; (forall x. Rep PWarnType x -&gt; PWarnType) -&gt; Generic PWarnType
forall x. Rep PWarnType x -&gt; PWarnType
forall x. PWarnType -&gt; Rep PWarnType x
forall a.
(forall x. a -&gt; Rep a x) -&gt; (forall x. Rep a x -&gt; a) -&gt; Generic a
$cto :: forall x. Rep PWarnType x -&gt; PWarnType
$cfrom :: forall x. PWarnType -&gt; Rep PWarnType x
</span><a href="../../base/src/GHC.Generics.html#Generic"><span class="hs-identifier hs-var hs-var hs-var hs-var">Generic</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-46"></span><span>
</span><span id="line-47"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679620178"><span id="local-6989586621679620180"><span id="local-6989586621679620182"><span class="annot"><a href="../../binary/src/Data.Binary.Class.html#Binary"><span class="hs-identifier hs-type">Binary</span></a></span><span> </span><span class="annot"><a href="Distribution.Parsec.Warning.html#PWarnType"><span class="hs-identifier hs-type">PWarnType</span></a></span></span></span></span><span>
</span><span id="line-48"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="../../deepseq/src/Control.DeepSeq.html#NFData"><span class="hs-identifier hs-type">NFData</span></a></span><span> </span><span class="annot"><a href="Distribution.Parsec.Warning.html#PWarnType"><span class="hs-identifier hs-type">PWarnType</span></a></span><span> </span><span class="hs-keyword">where</span><span> </span><span id="local-6989586621679620117"><span class="annot"><span class="annottext">rnf :: PWarnType -&gt; ()
</span><a href="../../deepseq/src/Control.DeepSeq.html#rnf"><span class="hs-identifier hs-var hs-var hs-var hs-var">rnf</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PWarnType -&gt; ()
forall a. (Generic a, GNFData (Rep a)) =&gt; a -&gt; ()
</span><a href="Distribution.Compat.Prelude.html#genericRnf"><span class="hs-identifier hs-var">genericRnf</span></a></span><span>
</span><span id="line-49"></span><span>
</span><span id="line-50"></span><span class="hs-comment">-- | Parser warning.</span><span>
</span><span id="line-51"></span><span id="local-6989586621679620113"><span id="local-6989586621679620114"></span></span><span class="hs-keyword">data</span><span> </span><span id="PWarning"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWarning"><span class="hs-identifier hs-var">PWarning</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="PWarning"><span class="annot"><a href="Distribution.Parsec.Warning.html#PWarning"><span class="hs-identifier hs-var">PWarning</span></a></span></span><span> </span><span class="hs-glyph">!</span><span class="annot"><a href="Distribution.Parsec.Warning.html#PWarnType"><span class="hs-identifier hs-type">PWarnType</span></a></span><span> </span><span class="hs-glyph">!</span><span class="annot"><a href="Distribution.Parsec.Position.html#Position"><span class="hs-identifier hs-type">Position</span></a></span><span> </span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span><span>
</span><span id="line-52"></span><span>    </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span id="local-6989586621679620099"><span id="local-6989586621679620101"><span id="local-6989586621679620110"><span class="annot"><span class="annottext">Int -&gt; PWarning -&gt; ShowS
[PWarning] -&gt; ShowS
PWarning -&gt; String
(Int -&gt; PWarning -&gt; ShowS)
-&gt; (PWarning -&gt; String) -&gt; ([PWarning] -&gt; ShowS) -&gt; Show PWarning
forall a.
(Int -&gt; a -&gt; ShowS) -&gt; (a -&gt; String) -&gt; ([a] -&gt; ShowS) -&gt; Show a
showList :: [PWarning] -&gt; ShowS
$cshowList :: [PWarning] -&gt; ShowS
show :: PWarning -&gt; String
$cshow :: PWarning -&gt; String
showsPrec :: Int -&gt; PWarning -&gt; ShowS
$cshowsPrec :: Int -&gt; PWarning -&gt; ShowS
</span><a href="../../base/src/GHC.Show.html#Show"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Show</span></a></span></span></span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">(forall x. PWarning -&gt; Rep PWarning x)
-&gt; (forall x. Rep PWarning x -&gt; PWarning) -&gt; Generic PWarning
forall x. Rep PWarning x -&gt; PWarning
forall x. PWarning -&gt; Rep PWarning x
forall a.
(forall x. a -&gt; Rep a x) -&gt; (forall x. Rep a x -&gt; a) -&gt; Generic a
$cto :: forall x. Rep PWarning x -&gt; PWarning
$cfrom :: forall x. PWarning -&gt; Rep PWarning x
</span><a href="../../base/src/GHC.Generics.html#Generic"><span class="hs-identifier hs-var hs-var hs-var hs-var">Generic</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-53"></span><span>
</span><span id="line-54"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679620090"><span id="local-6989586621679620092"><span id="local-6989586621679620094"><span class="annot"><a href="../../binary/src/Data.Binary.Class.html#Binary"><span class="hs-identifier hs-type">Binary</span></a></span><span> </span><span class="annot"><a href="Distribution.Parsec.Warning.html#PWarning"><span class="hs-identifier hs-type">PWarning</span></a></span></span></span></span><span>
</span><span id="line-55"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="../../deepseq/src/Control.DeepSeq.html#NFData"><span class="hs-identifier hs-type">NFData</span></a></span><span> </span><span class="annot"><a href="Distribution.Parsec.Warning.html#PWarning"><span class="hs-identifier hs-type">PWarning</span></a></span><span> </span><span class="hs-keyword">where</span><span> </span><span id="local-6989586621679620066"><span class="annot"><span class="annottext">rnf :: PWarning -&gt; ()
</span><a href="#local-6989586621679620066"><span class="hs-identifier hs-var hs-var hs-var hs-var">rnf</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PWarning -&gt; ()
forall a. (Generic a, GNFData (Rep a)) =&gt; a -&gt; ()
</span><a href="Distribution.Compat.Prelude.html#genericRnf"><span class="hs-identifier hs-var">genericRnf</span></a></span><span>
</span><span id="line-56"></span><span>
</span><span id="line-57"></span><span class="annot"><a href="Distribution.Parsec.Warning.html#showPWarning"><span class="hs-identifier hs-type">showPWarning</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.IO.html#FilePath"><span class="hs-identifier hs-type">FilePath</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Distribution.Parsec.Warning.html#PWarning"><span class="hs-identifier hs-type">PWarning</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span><span>
</span><span id="line-58"></span><span id="showPWarning"><span class="annot"><span class="annottext">showPWarning :: String -&gt; PWarning -&gt; String
</span><a href="Distribution.Parsec.Warning.html#showPWarning"><span class="hs-identifier hs-var hs-var">showPWarning</span></a></span></span><span> </span><span id="local-6989586621679620064"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679620064"><span class="hs-identifier hs-var">fpath</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Distribution.Parsec.Warning.html#PWarning"><span class="hs-identifier hs-type">PWarning</span></a></span><span> </span><span class="annot"><span class="annottext">PWarnType
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679620063"><span class="annot"><span class="annottext">Position
</span><a href="#local-6989586621679620063"><span class="hs-identifier hs-var">pos</span></a></span></span><span> </span><span id="local-6989586621679620062"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679620062"><span class="hs-identifier hs-var">msg</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-59"></span><span>    </span><span class="annot"><span class="annottext">ShowS
</span><a href="../../filepath/src/System.FilePath.Windows.html#normalise"><span class="hs-identifier hs-var">normalise</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679620064"><span class="hs-identifier hs-var">fpath</span></a></span><span> </span><span class="annot"><span class="annottext">String -&gt; ShowS
forall a. [a] -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.Base.html#%2B%2B"><span class="hs-operator hs-var">++</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;:&quot;</span></span><span> </span><span class="annot"><span class="annottext">String -&gt; ShowS
forall a. [a] -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.Base.html#%2B%2B"><span class="hs-operator hs-var">++</span></a></span><span> </span><span class="annot"><span class="annottext">Position -&gt; String
</span><a href="Distribution.Parsec.Position.html#showPos"><span class="hs-identifier hs-var">showPos</span></a></span><span> </span><span class="annot"><span class="annottext">Position
</span><a href="#local-6989586621679620063"><span class="hs-identifier hs-var">pos</span></a></span><span> </span><span class="annot"><span class="annottext">String -&gt; ShowS
forall a. [a] -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.Base.html#%2B%2B"><span class="hs-operator hs-var">++</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;: &quot;</span></span><span> </span><span class="annot"><span class="annottext">String -&gt; ShowS
forall a. [a] -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.Base.html#%2B%2B"><span class="hs-operator hs-var">++</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679620062"><span class="hs-identifier hs-var">msg</span></a></span><span>
</span><span id="line-60"></span></pre></body></html>